package com.jiazhong.shixi.yemingxuan.bookstore.mapper;

import com.jiazhong.shixi.yemingxuan.bookstore.bean.Category;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;

@Mapper
public interface CategoryMapper {

    //获取所有分类数据
    @Select("select * from category")
    List<Category>find();

}
